package org.example.exp3.exam6;

public class CautionLightObserver implements AlarmListener {
   public CautionLight cautionLight = new CautionLight();
   
   public void alarm() {
      cautionLight.flicker();
   }
}